package db;

import java.util.Date;

/**
 * AbstractPurreq entity provides the base persistence definition of the Purreq
 * entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractPurreq implements java.io.Serializable {
	// Fields
	private Integer id;
	private String reqCode;
	private Integer tobId;
	private Integer projectId;
	private String receiver;
	private String phone;
	private Integer teamId;
	private Integer supplierId;
	private String remark;
	private Integer state;
	private Date date;
	private Integer reqUserId;
	private Date reqDate;
	private Integer buyUserId;
	private Date buyDate;
	private Integer buyState;
	private Integer costState;
	private Integer costUserid;
	private Date costDate;
	private Project project;
	private Tob tob;
	private Team team;
	private Supplier supplier;
	private User reqUser;
	// Constructors

	/** default constructor */
	public AbstractPurreq() {
	}

	/** full constructor */
	public AbstractPurreq(String reqCode, Integer tobId, Integer projectId,
			String receiver, String phone, Integer teamId, Integer supplierId,
			String remark, Integer state, Date date, Integer reqUserId,
			Date reqDate, Integer buyUserId, Date buyDate, Integer buyState,
			Integer costState, Integer costUserid, Date costDate, Project project, 
			Tob tob, Team team, Supplier supplier) {
		this.reqCode = reqCode;
		this.tobId = tobId;
		this.projectId = projectId;
		this.receiver = receiver;
		this.phone = phone;
		this.teamId = teamId;
		this.supplierId = supplierId;
		this.remark = remark;
		this.state = state;
		this.date = date;
		this.reqUserId = reqUserId;
		this.reqDate = reqDate;
		this.buyUserId = buyUserId;
		this.buyDate = buyDate;
		this.buyState = buyState;
		this.costState = costState;
		this.costUserid = costUserid;
		this.costDate = costDate;
		this.project = project;
		this.tob = tob;
		this.team = team;
		this.supplier = supplier;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getReqCode() {
		return this.reqCode;
	}

	public void setReqCode(String reqCode) {
		this.reqCode = reqCode;
	}

	public Integer getTobId() {
		return this.tobId;
	}

	public void setTobId(Integer tobId) {
		this.tobId = tobId;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getReceiver() {
		return this.receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getTeamId() {
		return this.teamId;
	}

	public void setTeamId(Integer teamId) {
		this.teamId = teamId;
	}

	public Integer getSupplierId() {
		return this.supplierId;
	}

	public void setSupplierId(Integer supplierId) {
		this.supplierId = supplierId;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Integer getReqUserId() {
		return this.reqUserId;
	}

	public void setReqUserId(Integer reqUserId) {
		this.reqUserId = reqUserId;
	}

	public Date getReqDate() {
		return this.reqDate;
	}

	public void setReqDate(Date reqDate) {
		this.reqDate = reqDate;
	}

	public Integer getBuyUserId() {
		return this.buyUserId;
	}

	public void setBuyUserId(Integer buyUserId) {
		this.buyUserId = buyUserId;
	}

	public Date getBuyDate() {
		return this.buyDate;
	}

	public void setBuyDate(Date buyDate) {
		this.buyDate = buyDate;
	}

	public Integer getBuyState() {
		return this.buyState;
	}

	public void setBuyState(Integer buyState) {
		this.buyState = buyState;
	}

	public Integer getCostState() {
		return this.costState;
	}

	public void setCostState(Integer costState) {
		this.costState = costState;
	}

	public Integer getCostUserid() {
		return this.costUserid;
	}

	public void setCostUserid(Integer costUserid) {
		this.costUserid = costUserid;
	}

	public Date getCostDate() {
		return this.costDate;
	}

	public void setCostDate(Date costDate) {
		this.costDate = costDate;
	}

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	public Tob getTob() {
		return tob;
	}

	public void setTob(Tob tob) {
		this.tob = tob;
	}

	public Team getTeam() {
		return team;
	}

	public void setTeam(Team team) {
		this.team = team;
	}

	public Supplier getSupplier() {
		return supplier;
	}

	public void setSupplier(Supplier supplier) {
		this.supplier = supplier;
	}

	public User getReqUser() {
		return reqUser;
	}

	public void setReqUser(User reqUser) {
		this.reqUser = reqUser;
	}

}